package com.my.sharding.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.my.sharding.entiy.Student;
import com.my.sharding.mapper.StudentMapper;
import com.my.sharding.service.StudentService;

@Service
public class StudentServiceImpl implements StudentService{

	@Autowired  
    public StudentMapper studentMapper;  
  
    public boolean insert(Student student) {  
        return studentMapper.insert(student) > 0 ? true : false;  
    }
}
